package com.lichuang.dedao.curriculum.service;

import com.lichuang.dedao.curriculum.entity.CurriculumChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaosong
 * @since 2019-07-18
 */
public interface ICurriculumChapterService extends IService<CurriculumChapter> {

    /**
     * 通过课程id找课程所有的章
     * @param curriculumId
     * @return
     */
    List<CurriculumChapter> getChapterByCurriculumId(@Param("curriculumId")Integer curriculumId);
}
